package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * (OmsGoodsDetailImg)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:27
 */
@Data
@Accessors(chain = true)
public class OmsGoodsDetailImg  {

    @TableId( type= IdType.ASSIGN_ID)
    private Long id;

    private Long goodsId;
    //0标识商品主图，1标识详情图, 2 评论区详情图
    private Integer type;

    private Integer sourceType;

    private String url;

    private Integer sort;

    @TableLogic
    private Integer delFlag;

    @TableField( fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Long createBy;

    @TableField( fill = FieldFill.UPDATE)
    private Date updateTime;

    private Long updateBy;


}

